package com.epalmpay.service.app;

import com.epalmpay.exception.ApplicationException;
import com.epalmpay.util.Response;

import java.text.ParseException;
import java.util.Date;
import java.util.Map;

/**
 * Created by Administrator on 2018/2/26.
 */
public interface IAppShopCollectionService {

    Response isHas(String shopId) throws ApplicationException;

    Response tradeList(String shopId, String statisDate,String endDate, Integer payType,Integer transactionType, Integer pageNo, Integer pageSize)throws ApplicationException;

    Response tradeDetail(String tradeId,String shopId,String memberId)throws ApplicationException;

    Response shopTradeStatisData(String shopId,String statisDate)throws ApplicationException;

    Response collectionDetail(String shopId, String statisDate)throws ApplicationException;

    Response customerMemberDetail(String shopId, String statisDate)throws ApplicationException;

    Response couponDataDetail(String shopId, String statisDate,Integer pageNo, Integer pageSize)throws ApplicationException;

    Response bonusDataDetail(String shopId, String statisDate, Integer pageNo, Integer pageSize)throws ApplicationException;

    Response addMemberDataDetail(String shopId, String statisDate, Integer pageNo, Integer pageSize)throws ApplicationException;

    Response couponCodeVerifyDetail(String shopId, String statisDate)throws ApplicationException;

    Response memberData(String phone,String shopId,String tradeMoney)throws ApplicationException;

    Response collectImg(String shopId)throws ApplicationException;

    Response shopCollectionInfo(String shopId) throws ApplicationException;

    Response collectionRecord(String shopId, String joinTime, String endTime, Integer collectType)throws ApplicationException;

    Response appCouponInfo(String sid, String couponCode)throws ApplicationException;

    Response appCouponVerify(String sid, String couponCode) throws ApplicationException, ParseException;

    Response appCouponRefund(String sid, String couponCode)throws ApplicationException, ParseException;

    Response testCouponList(String shopId, String startDate, String endDate, Integer pageNo, Integer pageSize)throws ApplicationException;

    Response testCouponDetail(String id,String shopId,String memberId)throws ApplicationException;

    Response entityGoodTradeList(String shopId, String startDate, String endDate, Integer payType, Integer transactionType, Integer pageNo, Integer pageSize)throws ApplicationException;


}
